<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2021/8/10
  Time: 16:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0030)http://localhost:8080/House-2/ -->
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
    <TITLE>爱家租房 - 首页</TITLE>
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    <META name=GENERATOR content="MSHTML 8.00.7601.17514"></HEAD>
<BODY>
<DIV id=header class=wrap>
    <DIV id=logo><IMG src="/images/logo.gif"></DIV></DIV>
<DIV id=navbar class=wrap>
    <DL class="search clearfix">
        <FORM id=sform method=post action=search.action>
            <DT>
                <UL>
                    <LI class=bold>房屋信息</LI>
                    <LI>标题：<INPUT class=text type=text name=keyword value="${hashMap.keyword}"> <LABEL class=ui-blue><INPUT onclick=doSearch() value=搜索房屋 type=button name=search></LABEL>
                    </LI></UL></DT>
            <DD>
                <UL>
                    <LI class=first>价格 </LI>
                    <LI><SELECT name=price>
                        <OPTION selected value="">不限</OPTION>
                        <OPTION value=0-100>100元以下</OPTION>
                        <OPTION value=100-200>100元—200元</OPTION>
                        <OPTION value=200-1000000>200元以上</OPTION></SELECT>
                    </LI></UL></DD>
<DIV class="main wrap">
    <TABLE class=house-list>
        <TBODY>
        <c:forEach var="house" items="${houseList}">
        <TR class=odd>
            <TD class=house-thumb><span>
                 <A href="/house/getone.do?id=${house.id}" target="_blank">
                    <img src="/images/thumb_house.gif" width="100" height="75" alt="">
                 </a>
            </span>
             </TD>
            <TD>
                <DL>
                    <DT><A href="details.htm" target="_blank">${house.title}</A></DT>
                    <DD>${house.description}<BR>${house.contact} </DD></DL></TD>
            <TD class=house-type>一室一厅</TD>
            <TD class=house-price><SPAN>${house.price}</SPAN>元/月</TD></TR>
        <TR>
        </c:forEach>
    <DIV class=pager>
        <UL>
            <LI class=current><A href="#">首页</A></LI>
            <LI><A href="#">上一页</A></LI>
            <LI><A href="#">下一页</A></LI>
            <LI><A href="#">末页</A></LI></UL><SPAN
            class=total>1/2页</SPAN> </DIV></DIV>
<DIV id=footer class=wrap>
    <DL>
        <DT>爱家租房 © 2010 北大爱家 京ICP证1000001号</DT>
        <DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD></DL></DIV></BODY></HTML>
